<?php

include("../conn/conn.php");

$id=strval($_POST['id']);

$sql=mysql_query("select * from tb_shangpin where id='".$id."'",$conn);
$info=mysql_fetch_array($sql);

$html='<div>
          <div class="popup_product_detail_img">
          	<img class="wl-img" src="'.$info[tupian].'" style="width: 130px; height: 111px; margin-left: 8px;">
          
          	<div class="mt20px">
          		<div class="price_span_1">'.$info[shichangjia].'<span>元/份</span></div>
        	</div>
          </div>
          <div class="popup_product_detail_txt">
		     <p class="mt6px"><span class="title_span_1">'.$info[mingcheng].'</span></p>
		     <p id="desc" class="mt10px">'.$info[jianjie].'</p>
		  </div>
          <div class="clear"></div>
 </div>';

echo json_encode(array('html'=>$html));
exit;
?>